﻿[[title="行业线管理",pagesize="10",orderby="createTime asc",condition=""]]
<script language="javascript" type="text/javascript">
    function changeWindowSize() {
        wmsCommon.setListDivStyle("listDiv", 1);
    }
        $(function () {
        wmsCommon.setListDivStyle("listDiv", 1);
    });

</script>
<div class="ContentArea">
    <table cellspacing="0" cellpadding="0" class="TblSearchPanel">
        <tr>
            <td class="TblSearchPanel_01">
            </td>
            <td class="TblSearchPanel_02">
                <div class="DivSearchTitle" style="float: left;">
                    查询条件</div>
                <img alt="点此隐藏或显示搜索区域" id="Image2" src="res/images/display.gif" class="ImgSearch"
                    onclick="wmsCommon.searchContentCtr()" />
            </td>
            <td class="TblSearchPanel_03">
            </td>
        </tr>
        <tr>
            <td class="TblSearchPanel_04">
            </td>
            <td>
                <!-- search content start -->
                <table id="tblSearch" class="SearchTable">
                    <tr>
                        <td style="text-align: left; width: 100%;">
                            <table style="width: auto;">
                                <tr>
                                <td class="tdright">
                                        <nobr>$industryLine.Columns.get_Item("code").DisplayName：</nobr>
                                    </td>
                                    <td class="tdleft">
                                        $industryLine.Columns.get_Item("code").RenderAsQuery()
                                    </td>
                                    <td class="tdright">
                                        <nobr>$industryLine.Columns.get_Item("name").DisplayName：</nobr>
                                    </td>
                                    <td class="tdleft">
                                        $industryLine.Columns.get_Item("name").RenderAsQuery()
                                    </td>
                                  <td class="tdright">
                                    
                                    </td>
                                    <td class="tdleft">
                                   
                                    </td>
                                </tr>
                            </table>
                        </td>
                        <td style="vertical-align: bottom;">
                            <div style="width: 100%">
                                $render.RenderButton()
                            </div>
                        </td>
                    </tr>
                </table>
                <!-- search content end-->
            </td>
            <td class="TblSearchPanel_06">
            </td>
        </tr>
        <tr>
            <td class="TblSearchPanel_07">
            </td>
            <td class="TblSearchPanel_08">
            </td>
            <td class="TblSearchPanel_09">
            </td>
        </tr>
    </table>
    <!--list content start-->
    <table class="controlContent" cellpadding="0" cellspacing="0">
        <tr class="rowEven">
            <td style="text-align: right;">
                $render.RenderButton(" text=新增; displayType=button; actionType=new; clientMethod=wmsCommon.openAddWin('industryLine','industryLine_edit','400','200','');")
                $render.RenderButton(" text=删除; displayType=button ; actionType=delete; clientMethod=wmsCommon.deleteRecords('contenttb','industryLine');")
            </td>
        </tr>
    </table>
    <div id="listDiv" class="listDivStyle">
        <table id="contenttb" cellpadding="0" cellspacing="0" class="tblList">
            <tr class="FixedTitleRow">
                <th>
                    <span style="cursor: hand" onclick="wmsCommon.checkedAll('contenttb')">选择</span>
                </th>
                <th style="width: 30px">
                    $industryLine.Columns.get_Item("ROWNUM").Render()
                </th>
                 <th>
                    $industryLine.Columns.get_Item("code").Render()
                </th>
                <th>
                    $industryLine.Columns.get_Item("name").Render()
                </th>
                <th>
                    $industryLine.Columns.get_Item("userName").Render()
                </th>
          

                <th>
                    $industryLine.Columns.get_Item("userName1").Render()
                </th>

                <th>
                    $industryLine.Columns.get_Item("createTime").Render()
                </th>
                <th >
                    操作
                </th>
            </tr>
            #foreach($row in $industryLine.Rows)
            <tr keyvalue="$row.RenderKeyValue()" onmouseout="wmsCommon.onMouseOut(this)" onmouseover="wmsCommon.onMouseOver(this)">
                <td>
                    <input style="cursor: hand; border: 0" type="checkbox" />
                </td>
                <td style="width: 30px">
                    $row.get_Item("ROWNUM").Render()
                </td>
                 <td style="text-align:center;">
                    $row.get_Item("code").Render()
                </td>
                <td style="text-align:center;">
                    $row.get_Item("name").Render()
                </td>
                <td style="text-align:center;">
                    $row.get_Item("userName").Render()
                </td>            
             <td style="text-align:center;">
                    $row.get_Item("userName1").Render()
                </td>   
                <td style="text-align: center">
                $row.get_Item("createTime").Render("format=yyyy-MM-dd HH:mm;") 
                </td>
                <td style="text-align:center;width:120px;" >
                <nobr>
                
             
                    $render.RenderButton("text=修改; displayType=button; actionType=modify; clientMethod=wmsCommon.openModifyWin(this,'industryLine','industryLine_edit',600,200);")
              </nobr>
                </td>
            </tr>
            #end
        </table>
    </div>
    $render.RenderPaging($industryLine)
</div>

